Keysight VISA.NET Help
BeginWrite(Byte[],Int64,Int64,VisaAsyncCallback,Object) Method



The bytes to be written to the device.
The index in buffer to begin writing.
The number of bytes to write.
The method to call when the operation is complete.
Information about the state of this particular asynchronous operation that is attached to the Async Results.
Write count bytes from buffer to the device asynchronously, starting at index. When done, notify the calling program via the callback provided.
Syntax
'Declaration
 
Overloads Function BeginWrite( _
   ByVal buffer() As Byte, _
   ByVal index As Long, _
   ByVal count As Long, _
   ByVal callback As VisaAsyncCallback, _
   ByVal state As Object _
) As IVisaAsyncResult
'Usage
 
Dim instance As IMessageBasedRawIO
Dim buffer() As Byte
Dim index As Long
Dim count As Long
Dim callback As VisaAsyncCallback
Dim state As Object
Dim value As IVisaAsyncResult
 
value = instance.BeginWrite(buffer, index, count, callback, state)

Parameters

buffer
The bytes to be written to the device.
index
The index in buffer to begin writing.
count
The number of bytes to write.
callback
The method to call when the operation is complete.
state
Information about the state of this particular asynchronous operation that is attached to the Async Results.

Return Value

Information about the progress and results of the asynchronous operation that is specific to, and identifies, that particular operation.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025